-
Notifications
You must be signed in to change notification settings - Fork 619
[NEB-92] Dashboard: Add Nebula Analytics dashboard #6198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
...c/app/team/[team_slug]/[project_slug]/nebula/components/analytics/fetch-nebula-analytics.tsx
Outdated
Show resolved
Hide resolved
.../src/app/team/[team_slug]/[project_slug]/nebula/components/analytics/nebula-analytics-ui.tsx
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6198 +/- ##
=======================================
Coverage 56.72% 56.73%
=======================================
Files 1161 1161
Lines 64289 64289
Branches 5196 5198 +2
=======================================
+ Hits 36468 36474 +6
+ Misses 27095 27087 -8
- Partials 726 728 +2
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR primarily focuses on enhancing the `Nebula` analytics functionality by adding new components and improving data handling for analytics. It introduces new utilities for managing date ranges and search parameters, along with updates to the UI for better user interaction.
### Detailed summary
- Added `getNebulaAnalyticsRangeFromSearchParams` function in `utils.ts`.
- Updated `ProjectTabs` to remove `isOnNebulaWaitList` prop.
- Introduced `normalizeTime` function in `time.ts` for date normalization.
- Created `NebulaAnalyticsFilter` component for filtering analytics data.
- Implemented `NebulaAnalyticsPage` and `NebulaAnalyticDashboard` for displaying analytics.
- Enhanced `DateRangeSelector` with popover alignment options.
- Added `NebulaAnalyticsDashboardUI` for rendering analytics data and charts.
- Integrated `responsive-rsc` for responsive search parameters.
- Updated `package.json` to include `responsive-rsc` dependency.
- Removed calls to `getTeamNebulaWaitList` in `layout.tsx` and associated logic.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
c5e7a64 to
815b9b1
Compare

PR-Codex overview
This PR introduces a set of enhancements and features related to the
Nebulaanalytics functionality, including new components, improved data fetching, and UI updates, particularly around handling search parameters and displaying analytics data.Detailed summary
getNebulaAnalyticsRangeFromSearchParamsfunction inutils.ts.isOnNebulaWaitListprop fromProjectTabs.DatePickerWithRangeto acceptpopoverAlign.fetchNebulaAnalyticsfunction infetch-nebula-analytics.tsx.normalizeTimeutility intime.ts.NebulaAnalyticsFiltercomponent for filtering analytics data.NebulaAnalyticsPageto handle authentication and data fetching.NebulaAnalyticsDashboardUIfor displaying analytics data with charts.NebulaAnalyticsDashboardUI.DateRangeSelectorto normalize date handling and popover alignment.